package foodExtension;
import category.FoodCategory;


public class Food {
	
	private XyLocation location;
	private FoodCategory category;
	
	private String state;
	protected int calorie;
	
	
	public int getCalorie(){
		return this.calorie;
	}
	public XyLocation getLocation() {
		return location;
	}
	public void setLocation(XyLocation location) {
		this.location = location;
	}
	public FoodCategory getCategory() {
		return category;
	}
	public void setCategory(FoodCategory category) {
		this.category = category;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String eatFood(){
		return "eat "+this.category.getCategory();
	}
	public void changeStatusToOriginal(){
		this.state = "OriginalState";
	}
	public void changeToDigested(){
		this.state = "EmptyState";
	}
}
